package com.gimi.cloud.jimi.manage.consumer.service.sys;

import com.gimi.cloud.jimi.common.exception.MsgException;
import com.gimi.cloud.jimi.common.utils.reqhead.Response;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * Created by shazhiwei on 2017/12/15.
 */
public interface RoleService {
    public Response getRoleList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response);

    public Response getRoleSingle(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    public Response getRolePageList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    public Response addRole(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    public Response editRole(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;
}
